package com.accounting.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Admin entity. @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Integer adminId;
	private String userName;
	private String password;
	private Integer status;
	private String des;
	private Set subjects = new HashSet(0);
	private Set currencies = new HashSet(0);
	private Set companyInfos = new HashSet(0);
	private Set vouchers = new HashSet(0);
	private Set assistAccounts = new HashSet(0);
	private Set assistAccountTypes = new HashSet(0);
	private Set assets = new HashSet(0);
	private Set adminRoles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** minimal constructor */
	public Admin(Integer adminId, String userName, String password,
			Integer status) {
		this.adminId = adminId;
		this.userName = userName;
		this.password = password;
		this.status = status;
	}

	/** full constructor */
	public Admin(Integer adminId, String userName, String password,
			Integer status, String des, Set subjects, Set currencies,
			Set companyInfos, Set vouchers, Set assistAccounts,
			Set assistAccountTypes, Set assets, Set adminRoles) {
		this.adminId = adminId;
		this.userName = userName;
		this.password = password;
		this.status = status;
		this.des = des;
		this.subjects = subjects;
		this.currencies = currencies;
		this.companyInfos = companyInfos;
		this.vouchers = vouchers;
		this.assistAccounts = assistAccounts;
		this.assistAccountTypes = assistAccountTypes;
		this.assets = assets;
		this.adminRoles = adminRoles;
	}

	// Property accessors

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDes() {
		return this.des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public Set getSubjects() {
		return this.subjects;
	}

	public void setSubjects(Set subjects) {
		this.subjects = subjects;
	}

	public Set getCurrencies() {
		return this.currencies;
	}

	public void setCurrencies(Set currencies) {
		this.currencies = currencies;
	}

	public Set getCompanyInfos() {
		return this.companyInfos;
	}

	public void setCompanyInfos(Set companyInfos) {
		this.companyInfos = companyInfos;
	}

	public Set getVouchers() {
		return this.vouchers;
	}

	public void setVouchers(Set vouchers) {
		this.vouchers = vouchers;
	}

	public Set getAssistAccounts() {
		return this.assistAccounts;
	}

	public void setAssistAccounts(Set assistAccounts) {
		this.assistAccounts = assistAccounts;
	}

	public Set getAssistAccountTypes() {
		return this.assistAccountTypes;
	}

	public void setAssistAccountTypes(Set assistAccountTypes) {
		this.assistAccountTypes = assistAccountTypes;
	}

	public Set getAssets() {
		return this.assets;
	}

	public void setAssets(Set assets) {
		this.assets = assets;
	}

	public Set getAdminRoles() {
		return this.adminRoles;
	}

	public void setAdminRoles(Set adminRoles) {
		this.adminRoles = adminRoles;
	}

}